package com.example.administrator.yuejian35.base;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

/**
 * Created by HP on 2017/9/17.
 */

public abstract class BaseActivity extends AppCompatActivity {
    protected  static String userId;
    protected  static String userName;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    public static void setUserId(String uid){
        userId=uid;
    }

    public static void setUserName(String uname){
        userName=uname;
    }
    public static String getUserId(){
        return userId;
    }

    public static String getUserName(){
        return userName;
    }

}
